import React from 'react'
import {useRoutes} from 'react-router-dom'
import router from './router'
export default function App() {
  const Element=useRoutes(router)
  return (
    <div>
      {Element}
    </div>
  )
}
